import request from '../utils/request'

export function updateByUsername(data) {
    return request({
        url: '/bsolver-user/user/updateByUsername',
        method: 'post',
        data
    })
}

export function getUserByUsername(data) {
    return request({
        url: '/bsolver-user/user/getUserByUsername',
        method: 'get',
        params: data
    })
}

